<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        let str = '';
        for (let i = 1; i <= 9; i++) {
            for (let j = 1; j <= i; j++) {
                str += i + '*' + j + '=' + i * j + '\t';
            }
            str += '\n';
        }
        console.log(str);
    </script>
</head>
<body>

</body>
</html>